﻿using System;
using System.Collections.Generic;

namespace SD.Libs.Navigation.Contracts
{
    public class NavigationContextEventArgs : EventArgs
    {
        /// <summary>
        /// Page Parameters
        /// </summary>
        public IDictionary<string, string> QueryString { get; set; }// Parameters
    }

    // http://msdn.microsoft.com/en-us/library/ak9w5846(v=vs.80).aspx
    public delegate void NavigatedToPageEventHandler(object sender, NavigationContextEventArgs e);

    public interface INavigationContext
    {
        event NavigatedToPageEventHandler Navigated;

        void NotifyNavigated(IDictionary<string, string> queryString);
    }
}
